<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
		<title>添加收银员</title>
		<link rel="stylesheet" href="./../public/css/common.css">
		<link rel="stylesheet" href="./../public/css/pintuer.css">
		<link rel="stylesheet" href="./css/casher-add.css">
	</head>
	<body ms-controller="casherAdd">
		<div class="content">
			<div>
				<div class="account_section ">
					<div class="line-big border section_common">
						<div class="x12">
							<div class="line-big bg-sub box-header">
								<div class="x8 title">
									添加收银员
								</div>
								<div class="x4 text-right">
									<a href="javascript:;"></a>
								</div>
							</div>
							<div class="line-big ">
								<div class="x6">
									<form action="account.do?act=account" name="myform" method="post">
										<div class="line-big am-form-group">
											<div class="am-form-left text-left">
												收银员
											</div>

											<div class="am-form-right">
												<input class="commoninput" placeholder="请输入收银员名称" name="payInfo" ms-duplex="@casherName" autocomplete="off"/>

											</div>
										</div>
										<div class="line-big am-form-group">
											<div class="am-form-left text-left">
												手机号
											</div>

											<div class="am-form-right">
												<input class="commoninput " placeholder="请输入收银员登录手机号" name="price" ms-duplex="@tel" autocomplete="off"/>


											</div>
										</div>
										<div class="line-big am-form-group">
											<div class="am-form-left text-left">
												部门名称
											</div>

											<div class="am-form-right special-right">
												<select class="commoninput" ms-duplex="@partName">
													<option value="">请选择部门名称</option>
													<option ms-for="(index,item) in @partlist" ms-attr="{value:index}">{{item.name}}</option>

												</select>
												<button class="button bg-sub add-apart" type="button" ms-click="@addApart"><span class="icon-users
"></span>添加部门</button>

											</div>
										</div>
										<div class="line-big am-form-group">
											<div class="am-form-left text-left">
												是否为管理员
											</div>

											<div class="am-form-right">
												<select class="commoninput" ms-duplex="@isAdmin">
													<option value="">请选择是否为管理员</option>
													<option value="1">是</option>
													<option value="0">否</option>
												</select>

											</div>
										</div>

										<div class="line-big am-form-group">
											<div class="am-form-left text-left">
												密码
											</div>

											<div class="am-form-right">
												<input type="text" class="commoninput" name="paycode" placeholder="请输入初始密码" ms-duplex="@password" autocomplete="off"/>
											</div>
										</div>
										<div class="line-big am-form-group">
											<div class="am-form-left text-left">
												确认密码
											</div>

											<div class="am-form-right">
												<input type="text" class="commoninput" name="paycode" placeholder="请输入初始密码" ms-duplex="@repassword" autocomplete="off"/>
											</div>
										</div>

										<div class="line-big am-form-group">
											<div class="am-form-left text-left">

											</div>

											<div class="am-form-right">
												<button class="button bg-sub" type="button" ms-click="@sureClick()">
													<img class="loadimg" :class="showLoad ? '' : 'hide'"  src="./../public/images/load3.gif" />确认</button>
												<button class="button n-option" type="button" ms-click="@ResetClick('')">
													重置</button>
											</div>
										</div>

									</form>
								</div>
							</div>
						</div>
					</div>




				</div>
				
			</div>
		</div>
		
		<div class="mask" :class='@toggle? "openmask":""'></div>
				<div class="dialog" :class='@toggle? "open":""'>
					<div class="dialog-head">
						<strong>添加部门</strong>
					</div>
					<div class="dialog-body">
						<form>
							
							<div class="line-big am-form-group">
								<div class="x3 text-left">
							     部门名称
								</div>
		
								<div class="x9">
									<input class="commoninput_date" type='text' value="" ms-duplex="@apartName" />
		
								</div>
							</div>
						</form>
					</div>
					<div class="dialog-foot">
		
						<button class="button button-small bg-blue" ms-click="@addApartClick()">
							确认</button>
						<button class="button button-small ml10" ms-click="@closeClick()">
							关闭</button>
					</div>
				</div>
	</body>
	<!-- api配置文档 -->
	<script src="./../api/api.js"></script>
	<!-- jquery -->
	<script src="./../public/js/jquery.js"></script>
	<!-- 拼图 js -->
	<script src="./../public/js/pintuer.js"></script>
	<!-- avalon js -->
	<script src="./../public/js/avalon.js"></script>
	<!-- common js -->
	<script src="./../public/js/common.js"></script>
	<!-- 普通收款js-->
	<script src="./js/casher-add.js"></script>
</html>
